home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / fontutil.6 / fontutil / fontutils-0.6 / limn / xserver.h < prev   
Encoding:
C/C++ Source or Header  |  1992-03-27  |  1.6 KB  |  46 lines

  1. /* xserver.h: declarations for our X ``server'' that handles the actual
  2.    displaying. 
  3.  
  4. Copyright (C) 1992 Free Software Foundation, Inc.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef XSERVER_H
  21. #define XSERVER_H
  22.  
  23. #include <X11/Xatom.h>
  24. #include "types.h"
  25.  
  26. /* Tell our server to shut down.  It has no data.  */
  27. #define FOSERVER_EXIT_ATOM "GNU_FIT_OUTLINES_SERVER_EXIT"
  28. extern Atom foserver_exit_atom;
  29.  
  30. /* Tell our server to display a new pixmap.  The pixmap ID is given as
  31.    the first `long' data element.  */
  32. #define FOSERVER_UPDATE_PIXMAP_ATOM "GNU_FIT_OUTLINES_SERVER_UPDATE_PIXMAP"
  33. extern Atom foserver_update_pixmap_atom;
  34.  
  35. /* Identifies the server.  */
  36. #define FOSERVER_IDENTITY_ATOM "GNU_FIT_OUTLINES_SERVER_IDENTITY"
  37. extern Atom foserver_identity_atom;
  38.  
  39. #ifndef STANDALONE_SERVER
  40. /* Start the server with a default window size of INITIAL_SIZE pixels
  41.    and an identification string IDENTITY.  */
  42. extern void start_server (unsigned initial_size, string identity);
  43. #endif /* not STANDALONE_SERVER */
  44.  
  45. #endif /* not XSERVER_H */
  46.